package com.campus.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.shop.controller.web.vo.GoodsCartVo;
import com.campus.shop.controller.web.vo.OrderConfirmVo;
import com.campus.shop.entity.ShopCart;

import java.util.List;
import java.util.Map;

/**
 *  服务类
 * @author xr
 * @since 2023-12-362 15:13:50
 */
public interface ShopCartService extends IService<ShopCart> {

    Integer getCartNum(Integer userId);

    List<GoodsCartVo> getCartList(Boolean isCart, Integer userId);

    void changePayStatus(String ids, Integer payStatus);

    List<OrderConfirmVo> getCartListById(Integer userId, String ids);

    List<OrderConfirmVo> getPayGoods(Integer userId, Integer goodsId);
}

